const message = {
  state: {
    smsTemplateObj: {
      ids: [],
      data: []
    },
    pageSelectedObj: {}
  },
  mutations: {
    SET_SMSTEMPLATEOBJ: (state, smsTemData) => {
      const { ids, data } = smsTemData;
      state.smsTemplateObj.ids = ids;
      state.smsTemplateObj.data = data;
    },
    SET_PAGESELECTEDOBJ: (state, data) => {
      state.pageSelectedObj = data;
    }
  },
  actions: {}
}

export default message
